/*
 * Copyright (c) 2024. hallele, Inc All rights reserved.
 */

package cn.hallele.mc.sdk.usercenter.dto;

import cn.hallele.infrastructure.metadata.io.Query;
import cn.hallele.mc.sdk.usercenter.common.enums.DeptStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import java.io.Serial;

/**
 * hallele_mc_sdk
 *
 * @author anle5
 * @since 2024/11/16 16:38
 */
@Getter
@Setter
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "部门查询对象")
public class DeptQueryDTO extends Query {
    @Serial
    private static final long serialVersionUID = -2691989369267404881L;

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Integer id;

    /**
     * 部门名字
     */
    @Schema(description = "部门名字")
    private String name;

    /**
     * 部门电话
     */
    @Schema(description = "部门电话")
    private String phone;

    /**
     * 状态(0:启用;1:禁用)
     */
    @Schema(description = "状态(0:启用;1:禁用)")
    private DeptStatusEnum status;
}
